<!--{eval
    $_G['loader']->helper('misc','article');
}-->
{template modoer_header}
<script type="text/javascript" src="{URLROOT}/static/javascript/jquery.d.imagechange.js"></script>
<div id="body">

    <div class="mainrail">

        <div class="art_ix">
            <div class="art_ix_l1">
                <div class="l1_pics" id="l1_pics">
                    {get:article val=getlist(city_id/_NULL_CITYID_/att/4/select/articleid,subject,thumb,picture/orderby listorder,dateline DESC/rows/5)}
                    <a href="{url article/detail/id/$val[articleid]}" title="$val[subject]" target="_blank"><img src="{URLROOT}/$val[picture]" height="200" width="348" /></a>
                    {/get}
                </div>
                <script type="text/javascript">
                    $('#l1_pics').d_imagechange({width:350,height:200,repeat:'draw'});
                </script>
                <div class="l1_comment_news">
                    <h2 class="rail-h-2 rail-h-bg-2"><b>热评文章</b></h2>
                    <ul class="rail-list2">
                        {get:modoer val=table(table/dbpre_articles/select/articleid,subject,comments/where/city_id IN (_NULL_CITYID_) AND comments>0 AND status=1/orderby/comments DESC/rows/5/cachetime/1000)}
                        <li><cite>$val[comments]&nbsp;评论</cite><a href="{url article/detail/id/$val[articleid]}">{sublen $val[subject],20}</a></li>
                        {/get}
                    </ul>
                </div>
            </div>
            <div class="art_ix_r1">
                <div class="r1_l">
                    <ul class="hl">
                        {get:modoer val=table(table/dbpre_articles/select/articleid,subject,introduce/where/city_id IN (_NULL_CITYID_) AND att=1 AND status=1/orderby/listorder/rows/2/cachetime/1000)}
                        <li>
                            <h2><a href="{url article/detail/id/$val[articleid]}">$val[subject]</a></h2>
                            <p>{sublen $val[introduce],60,'...'}...</p>
                        </li>
                        {/get}
                    </ul>
                    <div class="hl_line"></div>
                    <ul class="hl2">
                        {get:modoer val=table(table/dbpre_articles/select/articleid,subject,catid,author,dateline/where/city_id IN (_NULL_CITYID_) AND att=2 AND status=1/orderby/listorder/rows/7/cachetime/1000)}
                        <li><cite>$val[author]</cite>[<a href="{url article/list/catid/$val[catid]}">{print:article category(catid/$val[catid])}</a>]&nbsp;<a href="{url article/detail/id/$val[articleid]}">$val[subject]</a></li>
                        {/get}
                    </ul>
                </div>
                <div class="r1_r">
                    <ul>
                        {get:modoer val=table(table/dbpre_articles/select/articleid,subject,thumb/where/city_id IN (_NULL_CITYID_) AND att=3 AND status=1/orderby/listorder/rows/3/cachetime/1000)}
                        <li><div><a href="{url article/detail/id/$val[articleid]}"><img src="{URLROOT}/$val[thumb]" width="128" height="80" alt="$val[subject]" /></a></div><span><a href="{url article/detail/id/$val[articleid]}" title="$val[subject]">{sublen $val[subject],9}</a></span></li>
                        {/get}
                    </ul>
                </div>
                <div class="clear"></div>
            </div>
            <div class="clear"></div>
        </div>

		<!-- 加载广告位 -->
		<div id="adv_1"></div>

        {get:article cat=category(pid/0)}
        <div class="art_ixmt10">
            <em>
                {eval $i=1;}
                {get:article cat2=category(pid/$cat[catid])}
                <a href="{url article/list/catid/$cat2[catid]}">$cat2[name]</a>
                <span class="xsplit">|</span>
                {eval if($i++>5)break;}
                {/get}
                <a href="{url article/list/catid/$cat[catid]}">更多&nbsp;&raquo;</a>
            </em>
            <h3 class="rail-h-3 rail-h-bm-3"><b>$cat[name]</b></h3>
            <ul class="art_ix_l2">
                {get:article val=getlist(select/articleid,subject,thumb,introduce/city_id/_NULL_CITYID_/catid/$cat[catid]/att/3/orderby/listorder/rows/2/cachetime/1000)}
                <li>
                    <div class="p"><a href="{url article/detail/id/$val[articleid]}" alt="$val[subject]"><img src="{URLROOT}/$val[thumb]" width="128" height="80" /></a></div>
                    <div class="t"><h3><a href="{url article/detail/id/$val[articleid]}">{sublen $val[subject],15}</a></h3><p>{sublen $val[introduce],50,'...'}</p></div>
                    <div class="clear"></div>
                </li>
                {/get}
            </ul>
            <div class="l2_line"></div>
            <div class="art_ix_r2">
                <ul class="r2_news">
                    {get:article val=getlist(select/articleid,subject,catid,author,dateline/city_id/_NULL_CITYID_/catid/$cat[catid]/orderby/dateline DESC/rows/7/cachetime/1000)}
                    <li><cite>$val[author]&nbsp;/&nbsp;{date $val[dateline],'m-d'}</cite>[<a href="{url article/list/catid/$val[catid]}">{print:article category(catid/$val[catid])}</a>]&nbsp;<a href="{url article/detail/id/$val[articleid]}">$val[subject]</a></li>
                    {/get}
                </ul>
            </div>
            <div class="clear"></div>
        </div>
        {/get}

    </div>

</div>
<div id="adv_1_content" style="display:none;">
<!--{include display('adv:show','name/新闻首页_广告')}-->
</div>
<script type="text/javascript">
//加载广告
replace_content('adv_1=adv_1_content');
</script>
<!--{eval footer();}-->